cmake_minimum_required(VERSION ${REQUIRED_CMAKE_VERSION})
project(appkit_test)

add_executable(${PROJECT_NAME}
    main.cpp
    test_async.cpp
    test_fileio.cpp
    test_network.cpp
    test_serial.cpp
    test_system.cpp
    test_timer.cpp
)

target_link_libraries(${PROJECT_NAME}
    ${catkin_LIBRARIES}
    appkit
)

# 安装目标文件
install(TARGETS ${PROJECT_NAME}
    ARCHIVE DESTINATION ${INSTALL_LIB_PATH}
    LIBRARY DESTINATION ${INSTALL_LIB_PATH}
    RUNTIME DESTINATION ${INSTALL_BIN_PATH}
)
